package com.tangji.signaltower.runners;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2020-09-18
 * Time: 18:06
 */
public class MockMarketEntity {

    private String tradeNo;

    private String price;

    private long expectDeadLineTime;

    private Integer trendType;

    private boolean isDone=false;

    private String startPrice;

    private boolean canMock = true;

    public boolean isCanMock() {
        return canMock;
    }

    public MockMarketEntity setCanMock(boolean canMock) {
        this.canMock = canMock;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public MockMarketEntity setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public MockMarketEntity() {
    }

    public MockMarketEntity(String price, long expectDeadLineTime, boolean isDone) {
        this.price = price;
        this.expectDeadLineTime = expectDeadLineTime;
        this.isDone = isDone;
    }

    public String getStartPrice() {
        return startPrice;
    }

    public MockMarketEntity setStartPrice(String startPrice) {
        this.startPrice = startPrice;
        return this;
    }

    public Integer getTrendType() {
        return trendType;
    }

    public MockMarketEntity setTrendType(Integer trendType) {
        this.trendType = trendType;
        return this;
    }

    public long getExpectDeadLineTime() {
        return expectDeadLineTime;
    }

    public MockMarketEntity setExpectDeadLineTime(long expectDeadLineTime) {
        this.expectDeadLineTime = expectDeadLineTime;
        return this;
    }

    public String getPrice() {
        return price;
    }

    public MockMarketEntity setPrice(String price) {
        this.price = price;
        return this;
    }

    public boolean isDone() {
        return isDone;
    }

    public MockMarketEntity setDone(boolean done) {
        isDone = done;
        return this;
    }
}
